<!DOCTYPE html>

<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <title>03 RequireTest</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <script src="../dist/PackageManager.js"></script>
</head>

<body>
    <div>Hello, world!</div>
    <script>
        var pm = new PM.Manager();
        pm.setPath('./packages');
        pm.require([
            'MyCss.css',
            'ModuleA.js',
            'ModuleB.js'
        ]).then(() => {
            alert(moduleNameA);
            alert(moduleNameB);
            FunctionA();
            FunctionB();
        });
    </script>
</body>

</html>